package com.ssh.dao.impl;

import java.util.List;

import org.springframework.orm.hibernate4.support.HibernateDaoSupport;

import com.ssh.dao.UserDao;
import com.ssh.entity.User;

public class UserDaoImpl extends HibernateDaoSupport implements UserDao{

	public List<User> findAllUser() {
		String hql = "from User";
		List list = this.getHibernateTemplate().find(hql);
		System.out.println("跑了dao");
		return list;
	}

}
